package sources;
import java.util.ArrayList;
import java.util.List;

/**
 * A class representing an iCal property.
 *
 * @author Alana Meditz
 * @author Ty Yago
 * @author Katherine Kishaba
 * @author Jimmy CUmming
 * 
 */

public class ICalProperty {
	private String name;
	private List<ICalParameter> parameters = new ArrayList<ICalParameter>();
	private String value;
		
	/**
	 * Constructor method.  Sets the name and value of this ICalProperty.
	 * 
	 * @param name  Name of this property.
	 * @param value Value of this property.
	 */
	public ICalProperty(String name, String value) {
		this.name = name;
		this.value = value;
	}
	
	/**
	 * @return Name of this property.
	 */
	public String getName() {
		return name;
	}
	
	/**
	 * @return Value of this property.
	 */
	public String getValue() {
		return value;
	}
}